<?php

namespace Fox;

class ViewData {

	private static $data = [];

	static public function set($name, $value) {
		self::$data[$name] = $value;
	}

	static public function get($name) {
		return self::$data[$name];
	}

	static public function clear() {
		return self::$data = null;
	}

	static public function all() {
		return self::$data;
	}

}